unit App.Action.TAppDefaultActionViewLoadAction;

interface

uses SmallStruct.Action,
  App.Action.TAppCustomeAction;

type
  TAppDefaultActionViewLoadAction = class(TAppCustomeAction)
  protected
    function DoPerform(ActionContext: ISSActionContext): Boolean; override;
  end;

implementation

uses SmallStruct.Model,
  SmallStruct.Configuration,
  SmallStruct.Form.TSSMessager;

{ TAppDefaultActionViewLoadAction }

function TAppDefaultActionViewLoadAction.DoPerform(ActionContext: ISSActionContext): Boolean;
begin
  ActionContext.GetController.AppendActionView(GetRequestViewPrimaryDataModel.GetDataSet.GetStringValue('ACTIONVIEW_NAME'));
  Result := True;
end;

end.
